<?php 
/**
 * 终端
 * @Author    紫梦
 * @DateTime  2018-02-22
 * @copyright 响响租车
 * @version   1.0
 */
namespace app\common\controller;


/**
* 
*/
class Bolutu
{
    
    /**
     * @return array 版本数组
     */
    public static function version()
    {
        try {            
            $file = file_get_contents('/data/chejiftp/version.txt');
            return preg_split("/[\s,]+/", trim($file),-1,PREG_SPLIT_NO_EMPTY);
        } catch (\Exception $e) {
            return $e->getMessage();        
        }
    }

}

